<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    /*public function  __construct() {
        
    }*/

    protected function _initDoctype() {
        $this->bootstrap('view');
        $view = $this->getResource('view');
        $view->doctype('XHTML1_STRICT');
    }

    protected function _initAutoload()
    {
        $autoloader = Zend_Loader_Autoloader::getInstance();
        $autoloader->registerNamespace('My_');
        $resourceLoader = new Zend_Loader_Autoloader_Resource(array(
            'basePath'            =>    APPLICATION_PATH,
            'namespace'            =>    '',
            'resourceTypes'    =>    array(
                'form'    =>    array(
                    'path'            =>    'forms/',
                    'namespace'    =>    'Form_'
                ),
                'model'    =>    array(
                    'path'            =>    'models/',
                    'namespace'    =>    'Model_'
                )
            )
        ));
        return $autoloader;
    }
    

}



